package com.zhiyou100.abstract_demo3;

/**
 * 火箭鸟
 */
public class RocketBird extends Bird{
    public RocketBird() {
    }

    public RocketBird(String name) {
        super(name);
    }

    @Override
    public void call() {
        System.out.println("嗷嗷------");
    }

    @Override
    public void attack() {
        System.out.println("加速冲撞攻击");
    }
}
